package cn.cdeden.knowledge.domain.dto;

//import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotEmpty;
import lombok.*;
import lombok.experimental.Accessors;

//import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

/**
* @author Yu.
* @date 2023-01-30
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class SysParametersConfigDto implements Serializable {
    private static final long serialVersionUID = 1L;


    private String id;

//    @ApiModelProperty(value = "系统配置编号")
    @NotEmpty(message = "系统配置编号,不得为空")
    private String configCode;

//    @ApiModelProperty(value = "系统配置名称")
    @NotEmpty(message = "系统配置名称,不得为空")
    private String configName;

//    @ApiModelProperty(value = "系统配置值")
    private String configValue;

//    @ApiModelProperty(value = "系统配置类型")
//    @NotEmpty(message = "系统配置类型,不得为空")
//    @TypeConstraint(values = {"sys_general_config","sys_login_config",""} ,message="上传文件参数错误")
    private String configType;

//    @ApiModelProperty(value = "系统配置其他信息")
    private String configInfo;

//    @ApiModelProperty(value = "备注")
    private String configRemarks;

//    @ApiModelProperty(value = "系统文件编号")
    private String storageId;

//    @ApiModelProperty(value = "系统文件类型")
    private String storageType;


//    @ApiModelProperty(value = "系统文件地址")
    private String storageUrl;

//    @ApiModelProperty(value = "排序字段")
    private Integer orderindex;

//    @ApiModelProperty(value = "数据状态")
    private String status;

//    @ApiModelProperty(value = "文件或者数据")
    private String type;


//    @ApiModelProperty(value = "数据显示类型给前端用")
    private String dataType;


//    @ApiModelProperty(value = "拥有者编号")
    private String createId;

//    @ApiModelProperty(value = "创建者")
    private String createBy;

//    @ApiModelProperty(value = "创建日期")
    private Date createTime;

//    @ApiModelProperty(value = "更新编号")
    private String updateId;

//    @ApiModelProperty(value = "更新者")
    private String updateBy;

//    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
